
function put() {
    $('#pop').on('click',function () {
        showPop('#award-pop');
        var numName = $('#you_name').val();
        var call = $('#call').val();
        var site = $('#site').val();
        if(numName && /^[\u4e00-\u9fa5]+$/g.test(numName) && call && /^1[3|4|5|8]\d{9}$/.test(call) && site && /^[\u4e00-\u9fa5]+$/g.test(site) && $('.select-info').html() != ''){
            $('#submit').removeClass('hide');
        }else {
            $('#anew').removeClass('hide');
        }
    });
    $('.close').on('click',function () {
        $('#submit').addClass('hide');
        $('#anew').addClass('hide');
        $('#phone').addClass('hide');
    })
}
function select() {
    $('.select-info').on('click',function () {
        $('.select_box ul').removeClass('hide');
    })
    $('.select_box ul li').on('click',function () {
        $('.select-info').html($(this).html());
        console.log($(this).parent());
        $('.select_box ul').addClass('hide');
    })
}
put();
select();